Previous Book Contents Book Index Next

Inside Macintosh: QuickTime /
Chapter 2 - Movie Toolbox / Movie Toolbox Reference
Functions That Modify Movie Properties / Locating a Movie's Tracks and Media Structures


GetTrackID

The GetTrackID function allows your application to determine a track's unique track ID value. This ID value remains unique throughout the life of the movie.

pascal long GetTrackID (Track theTrack);
theTrack
Specifies the track for this operation. Your application obtains this track identifier from such Movie Toolbox functions as NewMovieTrack and GetMovieTrack (described on page 2-136 and page 2-188, respectively).
DESCRIPTION
The GetTrackID function returns the track's ID value. If the function could not determine the ID value, it sets this returned value to 0.

ERROR CODES
invalidTrack-2009This track is corrupted or invalid

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996